package com.fqgj.xjd.user.dao;
import com.fqgj.common.base.BaseMapper;
import com.fqgj.xjd.user.entity.UserQuotaEntity;

import java.util.List;
import java.util.Map;

/**
* User: zhangxingyun
* Date: 2017-07-20
* Time: 18:38:53.166
*/

public interface UserQuotaDao  extends BaseMapper<UserQuotaEntity> {

    UserQuotaEntity getQutoaByuserCodeAndCategory (Map<String,Object> map);

    void updateByUserCodyAndCategory(UserQuotaEntity userQuotaEntity);

    void saveQuota (UserQuotaEntity userQuotaEntity);

    List<UserQuotaEntity> getAllQutoaByuserCode(String userCode);

    List<UserQuotaEntity> getAllQuotaByUserCodes(List<String> userCodes);
}